<!-- Start Content-->
<div class="container-fluid">

    <!-- start page title -->
    <div class="row">
        <div class="col-12">
            <div class="page-title-box">
                <div class="page-title-left mt-3">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="/workplace"><i class="feather icon-home"></i></a></li>
                        <li class="breadcrumb-item"><a href="/menuSetting?page=1">导航菜单</a></li>
                        <li class="breadcrumb-item active">新增</li>
                    </ol>
                </div>
            </div>
        </div>

        <div class="col-xl-8 col-md-12">
            <div class="card">
                <div class="card-header">
                    <h5>新增菜单</h5>
                </div>
                <div class="card-body">
                    <form class="needs-validation blog trim" novalidate>
                        <div class="form-group mb-3">
                            <label for="validationCustom03">菜单名</label>
                            <input oninput="addMenu()" type="text" class="form-control" id="menuName" name="menuName" value="" placeholder="请填写路由菜单名" required>
                            <div class="invalid-feedback">菜单名不能为空</div>
                        </div>
                        <div class="form-group mb-3">
                            <label for="validationCustom04">路由</label>
                            <input oninput="addMenu()" type="text" class="form-control" id="path" name="path" value="" placeholder="请填写菜单相对应的路由路径" required>
                            <div class="invalid-feedback">菜单路径不能为空</div>
                        </div>
                        <div class="form-group mb-3">
                            <label for="validationCustom05">图标<small class="text-danger">&emsp;默认：不显示，示例：iconfont icon-h5。</small></label>
                            <input type="text" class="form-control" id="icon" name="icon" value="" placeholder="请填写第三方字体库提供的class名，如：iconfont icon-h5">
                        </div>
                        <div class="form-group mb-3">
                            <div class="custom-control custom-checkbox">
                                <input type="checkbox" class="custom-control-input" id="isChildSwitch">
                                <label class="custom-control-label" for="isChildSwitch">开启二级菜单<small class="text-danger">&emsp;注意：数据添加成功，该项不允许二次修改。</small></label>
                            </div>
                        </div>
                        <button disabled class="btn btn-primary validation" type="button">提交</button>
                    </form>
                </div>
            </div>
        </div>
        <div class="col-xl-4 col-md-12">
            <div class="card ui-activity-card">
                <div class="card-body">
                    <h4 class="mt-0 mb-3">注意事项：</h4>
                    <div class="ui-activity-list">
                        <div class="row py-3">
                            <div class="col-auto text-right update-meta">
                                <i class="bg-success update-icon ring"></i>
                            </div>
                            <div class="col pl-2">
                                <h5 class="m-0">导航菜单</h5>
                                <p class="mb-0">最多能上架15个一级导航菜单。</p>
                            </div>
                        </div>
                        <div class="row pb-3">
                            <div class="col-auto text-right update-meta">
                                <i class="bg-warning update-icon ring"></i>
                            </div>
                            <div class="col pl-2">
                                <h5 class="m-0">二级菜单</h5>
                                <p class="mb-0">二级菜单设置后不能修改状态。</p>
                            </div>
                        </div>
                        <div class="row pb-3">
                            <div class="col-auto text-right update-meta">
                                <i class="bg-danger update-icon ring"></i>
                            </div>
                            <div class="col pl-2">
                                <h5 class="m-0">下架菜单</h5>
                                <p class="mb-0">菜单下所有导航、文章不会在页面展示。</p>
                            </div>
                        </div>
                        <div class="row pb-3">
                            <div class="col-auto text-right update-meta">
                                <i class="bg-primary update-icon ring"></i>
                            </div>
                            <div class="col pl-2">
                                <h5 class="m-0">排序规则</h5>
                                <p class="mb-0">前台导航菜单是按照从上往下排序。</p>
                            </div>
                        </div>
                        <div class="row pb-3">
                            <div class="col-auto text-right update-meta">
                                <i class="bg-success update-icon ring"></i>
                            </div>
                            <div class="col pl-2">
                                <h5 class="m-0">删除菜单</h5>
                                <p class="mb-0">菜单删除是进行软删除。</p>
                            </div>
                        </div>
                        <div class="row pb-3">
                            <div class="col-auto text-right update-meta">
                                <i class="bg-warning update-icon ring"></i>
                            </div>
                            <div class="col pl-2">
                                <h5 class="m-0">字体图标</h5>
                                <p class="mb-0">可以配置阿里巴巴矢量图标。<a href="https://www.iconfont.cn/" target="_blank" class="text-c-green"> More</a></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- end page title -->
</div>